/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfcshop.entity;

import com.easy.common.utils.excel.annotation.ExcelField;
import com.easy.core.persistence.DataEntity;

import javax.validation.constraints.NotNull;

/**
 * 品牌应用Entity
 * @author waylen chi
 * @version 2018-01-17
 */
public class BrandApply extends DataEntity<BrandApply> {
	
	private static final long serialVersionUID = 1L;
	private Integer brandId;		// brand_id
	private Integer storeId;		// 使用该品牌商铺ID,外键(StoreSet)
	private String isSelf;		// 默认1，是否自主
	private Integer authorizationImg;		// 授权照片
	
	public BrandApply() {
		super();
	}

	@NotNull(message="brand_id不能为空")
	@ExcelField(title="brand_id", align=2, sort=0)
	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}
	
	@ExcelField(title="使用该品牌商铺ID,外键(StoreSet)", align=2, sort=1)
	public Integer getStoreId() {
		return storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	
	@ExcelField(title="默认1，是否自主", align=2, sort=2)
	public String getIsSelf() {
		return isSelf;
	}

	public void setIsSelf(String isSelf) {
		this.isSelf = isSelf;
	}
	
	@ExcelField(title="授权照片", align=2, sort=3)
	public Integer getAuthorizationImg() {
		return authorizationImg;
	}

	public void setAuthorizationImg(Integer authorizationImg) {
		this.authorizationImg = authorizationImg;
	}
	
}